package com.bci.pwtz.mysql.model;

import java.util.List;

public class CompanyRole {
    private Long companyRoleId;

    private String roleName;

    private Long companyId;

    private String remark;

    private Integer isSuper;

    private Integer canDelete;
    
    private List<CompanyRoleAction> companyRoleActions;

    public Long getCompanyRoleId() {
        return companyRoleId;
    }

    public void setCompanyRoleId(Long companyRoleId) {
        this.companyRoleId = companyRoleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getIsSuper() {
        return isSuper;
    }

    public void setIsSuper(Integer isSuper) {
        this.isSuper = isSuper;
    }

    public Integer getCanDelete() {
        return canDelete;
    }

    public void setCanDelete(Integer canDelete) {
        this.canDelete = canDelete;
    }

    /**
     * @return the companyRoleActions
     */
    public List<CompanyRoleAction> getCompanyRoleActions()
    {
        return companyRoleActions;
    }

    /**
     * @param companyRoleActions the companyRoleActions to set
     */
    public void setCompanyRoleActions(List<CompanyRoleAction> companyRoleActions)
    {
        this.companyRoleActions = companyRoleActions;
    }

    /* (non-Javadoc)
     * Description: <br/> 
     *
     * @return 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "CompanyRole [companyRoleId=" + companyRoleId + ", roleName=" + roleName + ", companyId=" + companyId + ", remark=" + remark + ", isSuper=" + isSuper + ", canDelete=" + canDelete + ", companyRoleActions=" + companyRoleActions + "]";
    }

}